package com.atguigu.yygh.order.client;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author mgx
 * @version 1.0
 * @description: TODO
 * @date 2022/9/11 11:13
 */
@FeignClient(value = "service-orders")
public interface OrderInfoFeignClient {

    @PostMapping("/api/order/orderInfo/statistics")
    public Map<String,Object> getCount(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
